package com.future.service;


import com.future.pojo.Users;
import org.mapstruct.Mapper;
import org.springframework.context.annotation.Bean;

import java.util.List;

public interface UserService {

    int addUser(String userName,String userHao,String userPwd,String userEmail);
    Users userHaoEnroll(String userHao);
    Users checkHao(String userHao);
    int checkUserHao(String userHao,String userLV);
    int changePwd(String userPwd,String userHao);
    Users userEmailEnrrol(String userEmail);
    Users giteeLogin(String Id);
    int checkEmail(String userEmail);
    int checkLike(String mcName,int userId);
    int bindCount(String userHao,String Id);
    //根据id查找用户个人信息
    List<Users> queryByIdUser(int userId);


    //用户更新用户信息
    int updateuserUser(int userId, String userName, String userEmail, String userBirth,char userGen);

    //注销账号
    int deleteMe(int userId);

    //查询密码
    String queryMyPwd(int userId);

    //申请成为歌手
    int changeSinger(int userId);

}
